package com.zhouyer.study.servlet;

import com.zhouyer.study.server.Request;
import com.zhouyer.study.server.Response;

/**
 * 定义Servlet接口规范
 *
 * @author zhouyao
 * @version 1.0
 * @date 2021/9/14 2:20 下午
 */
public interface Servlet {
    void init() throws Exception;

    void service(Request request, Response response) throws Exception;

    void destory() throws Exception;
}
